import axios from 'axios'


export const getBannersApi = (dispatch) => {
    axios.get('https://zyxcl.xyz/music/api/banner')
        .then(res =>{
            console.log(res.data.banners)
            dispatch({
                type:'Type_banners',
                payload:res.data.banners
            })
        })

}